package com.zshan.clinic.database.dao;

import com.zshan.clinic.database.model.DictUsage;
import com.zshan.clinic.database.model.DictUsageExample;
import com.zshan.clinic.mybatis.SuperMapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DictUsageMapper extends SuperMapper {
    long countByExample(DictUsageExample example);

    int deleteByExample(DictUsageExample example);

    int deleteByPrimaryKey(String usageCode);

    int insert(DictUsage row);

    int insertSelective(DictUsage row);

    List<DictUsage> selectByExample(DictUsageExample example);

    DictUsage selectByPrimaryKey(String usageCode);

    int updateByExampleSelective(@Param("row") DictUsage row, @Param("example") DictUsageExample example);

    int updateByExample(@Param("row") DictUsage row, @Param("example") DictUsageExample example);

    int updateByPrimaryKeySelective(DictUsage row);

    int updateByPrimaryKey(DictUsage row);
}